<template>
	<!--
		原力交易记录
	 -->
	<view class="trading_card">
		<!-- 左侧 -->
		<view class="trading_card_left">
			<view class="title">
				<view class="data">原力{{item.name}}</view>
			</view>
		</view>
		<!-- 右侧 -->
		<view class="data">入账{{item.name}}</view>
		<view class="num">{{item.balance || item.amount}}</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: '../../static/images/logo.png'
			};
		},
		props: {
			item: {
				type: Object
			},
		},
	}
</script>

<style lang="scss" scoped>
	.trading_card {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 20rpx;
		margin: 0 auto;
		width: 90%;
		border-bottom: 0.5px solid #ddd;

		.trading_card_left {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.title {
				font-size: 24rpx;
			}

			.data {
				color: #0d0b0b;
				font-size: 24rpx;
				margin-left: 40rpx;
			}
		}
		.data {
			color: #0d0b0b;
			font-size: 24rpx;
			margin-left: 40rpx;
		}
	}
</style>
